package com.nondo.dean.product.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.nondo.dean.product.domain.ProductLog;
import com.nondo.dean.product.domain.ProductWithBLOBs;

import java.util.List;

/**
 * @author ken.
 * @version 1.0
 * @email 695093513@qq.com
 * @date 2018/3/29
 */
@JsonIgnoreProperties(ignoreUnknown=true)
public class ProductBean extends ProductWithBLOBs {
    /**
     * 品牌
     */
    private BrandBean brand;
    /**
     * 系列
     */
    private SeriesBean series;
    /**
     * 日志
     */
    private List<ProductLog> logs;
    /**
     * 等级
     */
    private GradeBean grade;
    /**
     * 附件图片
     */
    private List<AttachBean> attach;
    /**
     * 分类
     */
    private CategoryBean category;
    
    /**
     * 分类
     */
    private CategoryBean pCategory;
    /**
     * 属性json列表
     */
    private List propertiesList;
    /**
     * 规格json列表
     */
    private List specificationsList;
    
    /**
     * 父分类ID
     */
    private Integer pCategoryId;

    public BrandBean getBrand() {
        return brand;
    }

    public void setBrand(BrandBean brand) {
        this.brand = brand;
    }

    public SeriesBean getSeries() {
        return series;
    }

    public void setSeries(SeriesBean series) {
        this.series = series;
    }

    public List<ProductLog> getLogs() {
        return logs;
    }

    public void setLogs(List<ProductLog> logs) {
        this.logs = logs;
    }

    public GradeBean getGrade() {
        return grade;
    }

    public void setGrade(GradeBean grade) {
        this.grade = grade;
    }

    public List<AttachBean> getAttach() {
        return attach;
    }

    public void setAttach(List<AttachBean> attach) {
        this.attach = attach;
    }

    public CategoryBean getCategory() {
        return category;
    }

    public void setCategory(CategoryBean category) {
        this.category = category;
    }

    public CategoryBean getpCategory() {
        return pCategory;
    }

    public void setpCategory(CategoryBean pCategory) {
        this.pCategory = pCategory;
    }

    public List getPropertiesList() {
        return propertiesList;
    }

    public void setPropertiesList(List propertiesList) {
        this.propertiesList = propertiesList;
    }

    public List getSpecificationsList() {
        return specificationsList;
    }

    public void setSpecificationsList(List specificationsList) {
        this.specificationsList = specificationsList;
    }

    public Integer getpCategoryId() {
        return pCategoryId;
    }

    public void setpCategoryId(Integer pCategoryId) {
        this.pCategoryId = pCategoryId;
    }
}
